<template>
  <div class="zhibo-card">
      <div class="main">
        <div class="top">
            <img src="../../../../static/assets/icon/new-home-icon1.png" alt="">
            <div>
              <p class="overflow">喜欢吃面的...</p>
              <p>美妆</p>
            </div>
          </div>
          <div class="bottom">
            <div class="info">
              <p>圣诞前的大狂欢</p>
              <p>1658人观看</p>
            </div>
            <div class="status">直播中</div>
          </div>
      </div>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.zhibo-card{
  padding: 8px;
  width: 175px;
  height: 250px;
  position: relative;
  .main{
    width: 100%;
    height: 100%;
    background: url('http://img2.imgtn.bdimg.com/it/u=169333230,2890150736&fm=26&gp=0.jpg') no-repeat;
    background-size: cover;
    border-radius: 5px;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .top{
      width: 99px;
      height: 27px;
      background:rgba($color: #000000, $alpha: 0.5);
      border-radius: 14px;
      color: #ffffff;
      display: flex;
      font-size: 9px;
      padding: 3px;
      .overflow{
        width: 75px;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
      }
      img{
        width: 23px;
        height: 23px;
        margin-right: 2px;
      }
    }
    .bottom{
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      .info{
        color: #ffffff;
        font-size: 12px;
      }
      .status{
        font-size: 12px;
        color: #4ee249;
      }
    }
  }
}
</style>